package com.wizardOther;

import javafx.scene.layout.StackPane;

/**
 *
 * @author Sawior
 */
public class OtherScreensFramework extends StackPane{
    
    
     public static final String EMAIL_CLIENT = "Wiadomość do klientów";
     public static final String EMAIL_CLIENT_FXML = "mailClients.fxml";
     public static final String EMAIL_EMPLOYEE = "Email do klientów";
     public static final String EMAIL_EMPLOYEE_FXML = "mailEmployee.fxml";
     public static final String OTHER_BUTTONS_PANEL = "Inne";
     public static final String OTHER_BUTTONS_PANEL_FXML = "OtherMenuButtons.fxml";
     public static final String ADD_NEW_CAR = "Pojazdy";
     public static final String ADD_NEW_CAR_FXML="newCar.fxml";
     public static final String ADD_NEW_TARRIF = "Taryfy";
     public static final String ADD_NEW_TARRIF_FXML = "newTariff.fxml";
     public static final String BACK_UP = "Kopie zapasowe";
     public static final String BACK_UP_FXML = "BackUp.fxml";
     public static final String PRINT = "Drukowanie przepustek";
     public static final String PRINT_FXML = "printPanel.fxml";
     public static final String CONFIGURATOR = "Konfigurator";
     public static final String CONFIGURATOR_FXML = "configuratorPanel.fxml";
     public static final String ADD_NEW_EMPLOYEE = "Pracownicy";
     public static final String ADD_NEW_EMPLOYEE_FXML = "newEmployee.fxml";
     public static final String ADD_NEW_ACCOUNTINGDATA = "Dane rachunkowe";
     public static final String ADD_NEW_ACCOUNTINGDATA_FXML = "newAccountingData.fxml";
     public static final String CLIENT = "Klient";
     public static final String CLIENT_FXML = "Client.fxml";
     
     
     
     
     private OtherScreensController screenController;
     
     public OtherScreensFramework(OtherMenuWrapperScreenController mainPanelController){
       screenController = new OtherScreensController(mainPanelController);
       screenController.loadScreen(OtherScreensFramework.EMAIL_EMPLOYEE, OtherScreensFramework.EMAIL_EMPLOYEE_FXML);
       screenController.loadScreen(OtherScreensFramework.EMAIL_CLIENT, OtherScreensFramework.EMAIL_CLIENT_FXML);
       screenController.loadScreen(OtherScreensFramework.EMAIL_EMPLOYEE, OtherScreensFramework.EMAIL_EMPLOYEE_FXML);
       screenController.loadScreen(OtherScreensFramework.OTHER_BUTTONS_PANEL, OtherScreensFramework.OTHER_BUTTONS_PANEL_FXML);
       screenController.loadScreen(OtherScreensFramework.ADD_NEW_CAR, OtherScreensFramework.ADD_NEW_CAR_FXML);
       screenController.loadScreen(OtherScreensFramework.ADD_NEW_TARRIF, OtherScreensFramework.ADD_NEW_TARRIF_FXML);
       screenController.loadScreen(OtherScreensFramework.BACK_UP, OtherScreensFramework.BACK_UP_FXML);
       screenController.loadScreen(OtherScreensFramework.PRINT, OtherScreensFramework.PRINT_FXML);
       screenController.loadScreen(OtherScreensFramework.CONFIGURATOR, OtherScreensFramework.CONFIGURATOR_FXML);
       screenController.loadScreen(OtherScreensFramework.ADD_NEW_EMPLOYEE, OtherScreensFramework.ADD_NEW_EMPLOYEE_FXML);
       screenController.loadScreen(OtherScreensFramework.ADD_NEW_ACCOUNTINGDATA, OtherScreensFramework.ADD_NEW_ACCOUNTINGDATA_FXML);
       screenController.loadScreen(OtherScreensFramework.CLIENT, OtherScreensFramework.CLIENT_FXML);
       screenController.setScreen(OtherScreensFramework.OTHER_BUTTONS_PANEL);
       this.getChildren().addAll(screenController);
         
     }
     
     
     public OtherScreensController getScreensController() {
         return screenController;
     }
     
}
